var searchTextList=["艺术摄影","摄影教程","#游春季"]
var weekHeatList=[
	{
		img:"../img/search/search_img.png",
		topic:"#话题：如何挑选合适的摄影相机",
		text:"相机是否越贵越好呢？这里告诉你答案"
	}
]
$(".returnBox").on("click",function(){
	window.history.go(-1)
})
// 搜索发现
function getSearchText(){
	for(var i=0;i<searchTextList.length;i++){
		$(".searchTextUl").append('<li>'+searchTextList[i]+'</li>')
	}
}
// 每周热搜
function getWeekHeat(){
	for(var i=0;i<weekHeatList.length;i++){
		$(".weekHeatUl").append('<li><img class="weekHeatImg" src='+weekHeatList[i].img+
		' /><div class="textBox"><div class="topic">'+weekHeatList[i].topic+
		'</div><div class="text">'+weekHeatList[i].text+'</div></div></li>')
	}
}

var all={
	getSearchText,
	getWeekHeat
}
all.getSearchText()
all.getWeekHeat()